/*COMPONENTS -> BANNERS*/
.banner-left-icon {
    position: relative;
    background: #fff;
    &:hover {
        .banner-icon {
            transform: translateY(-5px);
            transition-duration: 0.3s;
        }
    }
    .banner-icon {
        max-width: 60px;
        margin-right: 20px;
        transition-duration: 0.3s;
    }
    .banner-text {
        h3 {
            color: $color-grey-2;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
        }
        p {
            margin-bottom: 0;
            color: $color-grey-4;
        }
    }
    &.style-2 {
        position: relative;
        border: 1px solid #e2e9e1;
        padding: 20px;
    }
}
.banner-img {
    position: relative;
    clear: both;
    &:hover {
        img {
            opacity: 0.9;
        }
    }
    &.banner-1 {
        .banner-text {
            top: 30%;
        }
        &.home-3 {
            margin-bottom: 24px;
            border-radius: 10px;
            overflow: hidden;
            max-height: 348px;
        }
    }
    &.banner-2 {
        .banner-text {
            right: 10px;
        }
    }
    .banner-text {
        position: absolute;
        top: 50%;
        z-index: 2;
        transform: translateY(-50%);
        padding: 20px 30px;
        span {
            color: $color-grey-4;
        }
        h4 {
            font-weight: 600;
            margin-bottom: 15px;
        }
        &:hover h4 {
            margin-left: 5px;
        }
        a {
            i {margin-left: 5px;transition-duration: 0.3s;font-size: 10px;}
            &:hover i {margin-left: 10px; transition-duration: 0.3s;}
        }

    }
    &.style-2 {
        border: 1px solid #e2e9e1;
        background-color: #fff;
        border-radius: 20px;
        overflow: hidden;
        height: 338px;
        h4 {
            color: #fff;
        }
    }
}
.banner-big {
    .btn {
        background: $color-brand !important;
        color: #fff;
        border-radius: 3px;
        font-size: 13px;
        padding: 10px 22px;
        border: 0;
        &:hover {
            background: $color-brand-dark !important;
        }
    }
}

/*Deal banners*/
.deal {
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	padding: 50px;
	background-color: #f5f6f9;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	min-height: 420px;

    > div {
        width: 100%;
    }

    h2 {
        color: $color-danger;
        font-weight: 600;
        font-size: 26px;
        line-height: 1.1;
        margin-bottom: 5px;
    }
    h5 {
        color: $color-grey-2;
        font-weight: 400;
        letter-spacing: 0;
        margin-bottom: 20px;
        max-width: 240px;
    }
    .deal-content {
        align-self: center;
    }
    .product-title {
        max-width: 240px;
        margin-bottom: 20px;
        font-weight: 400;
        font-size: 18px;
        line-height: 1.23;
        a {
            color: $color-grey-1;
        }
    }
    .product-price {
        display: flex;
        align-items: center;
        flex-flow: wrap;
        font-weight: 300;
        font-size: 20px;
        line-height: 1.25;
        margin-bottom: 20px;
        color: $color-danger;

        .new-price {
            font-weight: 400;
            letter-spacing: -.01em;
            margin-right: 10px;
        }
        .old-price {
            color: #cccccc;
            text-decoration: line-through;
        }
    }

    .btn {
        background: none;
        border: 2px solid $color-brand;
        color: $color-brand;
        border-radius: 4px;
        font-size: 14px;
        padding: 10px 24px;

        i {
            margin-left: 5px;
            transition-duration: 0.3s;
            font-size: 12px;
        }

        &:hover i {
            margin-left: 10px;
            transition-duration: 0.3s;
        }
    }

    .deal-bottom {
        align-self: flex-end;
        .deals-countdown {
            margin-left: -12px;
            margin-bottom: 20px;
        }
    }

}

.banner-bg {
    background-position: center;
    background-size: cover;
    padding: 50px;
}

.banner-features {
    text-align: center;
    padding: 25px 15px;
    border-radius: 4px;
    border: 1px solid $border-color;
    box-shadow: $box-shadown-3;
    &:hover {
        box-shadow: $box-shadown-3-hover;
    }
    img {display: inline-block;margin-bottom: 15px;}
    h4 {
        font-size: 13px;
        font-weight: 700;
        display: inline-block;
        padding: 9px 8px 6px 8px;
        line-height: 1;
        border-radius: 4px;
        color: $color-brand;
    }
}